package com.cssy.xxkj.logic.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.plat.helper.SearchConditions;

/**
 * 数据访问对象接口
 * 
 * @since 2014-09-02 hf
 */
public interface LogicBizDAO<T> {
	/**
	 * 查询组件公用方法
	 * 
	 * @param scs
	 * @return
	 * @throws DataAccessException
	 */
	public List<T> find(SearchConditions scs) throws DataAccessException;

	/**
	 * 查询组件公用方法
	 * 
	 * @param scs
	 * @return
	 * @throws DataAccessException
	 */
	public Integer count(SearchConditions scs) throws DataAccessException;
	
	/**
	 * 假删除
	 * 
	 * @param scs
	 * @return
	 * @throws DataAccessException
	 */
	public Integer deleteBizRemoved(String id) throws DataAccessException;

}